local que_zheyue = fk.CreateSkill {
    name = "que_zheyue",
    anim_type = "control",
    tags = { Skill.Limited },
}
Fk:loadTranslationTable {
    ["que_zheyue"] = "折月",
    [":que_zheyue"] = "限定技，当你进入濒死状态时，你可以秘密强化一次〖祈星〗，令所有效果中的阿拉伯数字+1，或令〖祈星〗发动时额外执行一项。",

    ["que_zheyue_num"] = "增加选项数值",
    ["que_zheyue_usetime"] = "额外执行效果",

    ["$que_zheyue1"] = "折月",
    ["$que_zheyue2"] = "折月",
}
que_zheyue:addEffect(fk.EnterDying, {
    anim_type = "support",
    can_trigger = function(self, event, target, player, data)
        return target == player and
            player.hp < 1 and
            player:hasSkill(que_zheyue.name) and
            player:usedSkillTimes(que_zheyue.name, Player.HistoryGame) == 0
    end,
    on_cost = function(self, event, target, player, data)
        return player.room:askToSkillInvoke(player,
            { skill_name = que_zheyue.name, prompt = "折月：是否秘密强化一次〖祈星〗？" })
    end,
    on_use = function(self, event, target, player, data)
        local room = player.room
        if room:askToChoice(player, { choices = { "que_zheyue_num", "que_zheyue_usetime" }, skill_name = que_zheyue.name }) == "que_zheyue_num" then
            room:setPlayerMark(player, "que_zheyue_num", 1)
        else
            room:setPlayerMark(player, "que_zheyue_usetime", 1)
        end
    end,
})
return que_zheyue
